Optimal. Leaf size=244 \[ \frac {d n \sqrt {1+a^2 x^2}}{a}+\frac {\left (3 a^2 d-e\right ) n \sqrt {1+a^2 x^2}}{3 a^3}+\frac {2 e n \left (1+a^2 x^2\right )^{3/2}}{27 a^3}-d n x \sinh ^{-1}(a x)-\frac {1}{9} e n x^3 \sinh ^{-1}(a x)-\frac {\left (3 a^2 d-e\right ) n \tanh ^{-1}\left (\sqrt {1+a^2 x^2}\right )}{3 a^3}-\frac {e n \tanh ^{-1}\left (\sqrt {1+a^2 x^2}\right )}{9 a^3}-\frac {\left (3 a^2 d-e\right ) \sqrt {1+a^2 x^2} \log \left (c x^n\right )}{3 a^3}-\frac {e \left (1+a^2 x^2\right )^{3/2} \log \left (c x^n\right )}{9 a^3}+d x \sinh ^{-1}(a x) \log \left (c x^n\right )+\frac {1}{3} e x^3 \sinh ^{-1}(a x) \log \left (c x^n\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.15, antiderivative size = 244, normalized size of antiderivative = 1.00, number of steps
used = 17, number of rules used = 11, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.611, Rules used = {5792, 455,
45, 2434, 272, 52, 65, 214, 5772, 267, 5776} \begin {gather*} \frac {d n \sqrt {a^2 x^2+1}}{a}-\frac {\sqrt {a^2 x^2+1} \left (3 a^2 d-e\right ) \log \left (c x^n\right )}{3 a^3}-\frac {e \left (a^2 x^2+1\right )^{3/2} \log \left (c x^n\right )}{9 a^3}+\frac {n \sqrt {a^2 x^2+1} \left (3 a^2 d-e\right )}{3 a^3}-\frac {n \left (3 a^2 d-e\right ) \tanh ^{-1}\left (\sqrt {a^2 x^2+1}\right )}{3 a^3}+\frac {2 e n \left (a^2 x^2+1\right )^{3/2}}{27 a^3}-\frac {e n \tanh ^{-1}\left (\sqrt {a^2 x^2+1}\right )}{9 a^3}+d x \sinh ^{-1}(a x) \log \left (c x^n\right )+\frac {1}{3} e x^3 \sinh ^{-1}(a x) \log \left (c x^n\right )-d n x \sinh ^{-1}(a x)-\frac {1}{9} e n x^3 \sinh ^{-1}(a x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 52
Rule 65
Rule 214
Rule 267
Rule 272
Rule 455
Rule 2434
Rule 5772
Rule 5776
Rule 5792
Rubi steps
\begin {align*} \int \left (d+e x^2\right ) \sinh ^{-1}(a x) \log \left (c x^n\right ) \, dx &=-\frac {\left (3 a^2 d-e\right ) \sqrt {1+a^2 x^2} \log \left (c x^n\right )}{3 a^3}-\frac {e \left (1+a^2 x^2\right )^{3/2} \log \left (c x^n\right )}{9 a^3}+d x \sinh ^{-1}(a x) \log \left (c x^n\right )+\frac {1}{3} e x^3 \sinh ^{-1}(a x) \log \left (c x^n\right )-n \int \left (-\frac {\left (3 a^2 d-e\right ) \sqrt {1+a^2 x^2}}{3 a^3 x}-\frac {e \left (1+a^2 x^2\right )^{3/2}}{9 a^3 x}+d \sinh ^{-1}(a x)+\frac {1}{3} e x^2 \sinh ^{-1}(a x)\right ) \, dx\\ &=-\frac {\left (3 a^2 d-e\right ) \sqrt {1+a^2 x^2} \log \left (c x^n\right )}{3 a^3}-\frac {e \left (1+a^2 x^2\right )^{3/2} \log \left (c x^n\right )}{9 a^3}+d x \sinh ^{-1}(a x) \log \left (c x^n\right )+\frac {1}{3} e x^3 \sinh ^{-1}(a x) \log \left (c x^n\right )-(d n) \int \sinh ^{-1}(a x) \, dx+\frac {\left (\left (3 a^2 d-e\right ) n\right ) \int \frac {\sqrt {1+a^2 x^2}}{x} \, dx}{3 a^3}-\frac {1}{3} (e n) \int x^2 \sinh ^{-1}(a x) \, dx+\frac {(e n) \int \frac {\left (1+a^2 x^2\right )^{3/2}}{x} \, dx}{9 a^3}\\ &=-d n x \sinh ^{-1}(a x)-\frac {1}{9} e n x^3 \sinh ^{-1}(a x)-\frac {\left (3 a^2 d-e\right ) \sqrt {1+a^2 x^2} \log \left (c x^n\right )}{3 a^3}-\frac {e \left (1+a^2 x^2\right )^{3/2} \log \left (c x^n\right )}{9 a^3}+d x \sinh ^{-1}(a x) \log \left (c x^n\right )+\frac {1}{3} e x^3 \sinh ^{-1}(a x) \log \left (c x^n\right )+(a d n) \int \frac {x}{\sqrt {1+a^2 x^2}} \, dx+\frac {\left (\left (3 a^2 d-e\right ) n\right ) \text {Subst}\left (\int \frac {\sqrt {1+a^2 x}}{x} \, dx,x,x^2\right )}{6 a^3}+\frac {(e n) \text {Subst}\left (\int \frac {\left (1+a^2 x\right )^{3/2}}{x} \, dx,x,x^2\right )}{18 a^3}+\frac {1}{9} (a e n) \int \frac {x^3}{\sqrt {1+a^2 x^2}} \, dx\\ &=\frac {d n \sqrt {1+a^2 x^2}}{a}+\frac {\left (3 a^2 d-e\right ) n \sqrt {1+a^2 x^2}}{3 a^3}+\frac {e n \left (1+a^2 x^2\right )^{3/2}}{27 a^3}-d n x \sinh ^{-1}(a x)-\frac {1}{9} e n x^3 \sinh ^{-1}(a x)-\frac {\left (3 a^2 d-e\right ) \sqrt {1+a^2 x^2} \log \left (c x^n\right )}{3 a^3}-\frac {e \left (1+a^2 x^2\right )^{3/2} \log \left (c x^n\right )}{9 a^3}+d x \sinh ^{-1}(a x) \log \left (c x^n\right )+\frac {1}{3} e x^3 \sinh ^{-1}(a x) \log \left (c x^n\right )+\frac {\left (\left (3 a^2 d-e\right ) n\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {1+a^2 x}} \, dx,x,x^2\right )}{6 a^3}+\frac {(e n) \text {Subst}\left (\int \frac {\sqrt {1+a^2 x}}{x} \, dx,x,x^2\right )}{18 a^3}+\frac {1}{18} (a e n) \text {Subst}\left (\int \frac {x}{\sqrt {1+a^2 x}} \, dx,x,x^2\right )\\ &=\frac {d n \sqrt {1+a^2 x^2}}{a}+\frac {\left (3 a^2 d-e\right ) n \sqrt {1+a^2 x^2}}{3 a^3}+\frac {e n \sqrt {1+a^2 x^2}}{9 a^3}+\frac {e n \left (1+a^2 x^2\right )^{3/2}}{27 a^3}-d n x \sinh ^{-1}(a x)-\frac {1}{9} e n x^3 \sinh ^{-1}(a x)-\frac {\left (3 a^2 d-e\right ) \sqrt {1+a^2 x^2} \log \left (c x^n\right )}{3 a^3}-\frac {e \left (1+a^2 x^2\right )^{3/2} \log \left (c x^n\right )}{9 a^3}+d x \sinh ^{-1}(a x) \log \left (c x^n\right )+\frac {1}{3} e x^3 \sinh ^{-1}(a x) \log \left (c x^n\right )+\frac {\left (\left (3 a^2 d-e\right ) n\right ) \text {Subst}\left (\int \frac {1}{-\frac {1}{a^2}+\frac {x^2}{a^2}} \, dx,x,\sqrt {1+a^2 x^2}\right )}{3 a^5}+\frac {(e n) \text {Subst}\left (\int \frac {1}{x \sqrt {1+a^2 x}} \, dx,x,x^2\right )}{18 a^3}+\frac {1}{18} (a e n) \text {Subst}\left (\int \left (-\frac {1}{a^2 \sqrt {1+a^2 x}}+\frac {\sqrt {1+a^2 x}}{a^2}\right ) \, dx,x,x^2\right )\\ &=\frac {d n \sqrt {1+a^2 x^2}}{a}+\frac {\left (3 a^2 d-e\right ) n \sqrt {1+a^2 x^2}}{3 a^3}+\frac {2 e n \left (1+a^2 x^2\right )^{3/2}}{27 a^3}-d n x \sinh ^{-1}(a x)-\frac {1}{9} e n x^3 \sinh ^{-1}(a x)-\frac {\left (3 a^2 d-e\right ) n \tanh ^{-1}\left (\sqrt {1+a^2 x^2}\right )}{3 a^3}-\frac {\left (3 a^2 d-e\right ) \sqrt {1+a^2 x^2} \log \left (c x^n\right )}{3 a^3}-\frac {e \left (1+a^2 x^2\right )^{3/2} \log \left (c x^n\right )}{9 a^3}+d x \sinh ^{-1}(a x) \log \left (c x^n\right )+\frac {1}{3} e x^3 \sinh ^{-1}(a x) \log \left (c x^n\right )+\frac {(e n) \text {Subst}\left (\int \frac {1}{-\frac {1}{a^2}+\frac {x^2}{a^2}} \, dx,x,\sqrt {1+a^2 x^2}\right )}{9 a^5}\\ &=\frac {d n \sqrt {1+a^2 x^2}}{a}+\frac {\left (3 a^2 d-e\right ) n \sqrt {1+a^2 x^2}}{3 a^3}+\frac {2 e n \left (1+a^2 x^2\right )^{3/2}}{27 a^3}-d n x \sinh ^{-1}(a x)-\frac {1}{9} e n x^3 \sinh ^{-1}(a x)-\frac {\left (3 a^2 d-e\right ) n \tanh ^{-1}\left (\sqrt {1+a^2 x^2}\right )}{3 a^3}-\frac {e n \tanh ^{-1}\left (\sqrt {1+a^2 x^2}\right )}{9 a^3}-\frac {\left (3 a^2 d-e\right ) \sqrt {1+a^2 x^2} \log \left (c x^n\right )}{3 a^3}-\frac {e \left (1+a^2 x^2\right )^{3/2} \log \left (c x^n\right )}{9 a^3}+d x \sinh ^{-1}(a x) \log \left (c x^n\right )+\frac {1}{3} e x^3 \sinh ^{-1}(a x) \log \left (c x^n\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.11, size = 240, normalized size = 0.98 \begin {gather*} \frac {54 a^2 d n \sqrt {1+a^2 x^2}-7 e n \sqrt {1+a^2 x^2}+2 a^2 e n x^2 \sqrt {1+a^2 x^2}+3 \left (9 a^2 d-2 e\right ) n \log (x)-27 a^2 d \sqrt {1+a^2 x^2} \log \left (c x^n\right )+6 e \sqrt {1+a^2 x^2} \log \left (c x^n\right )-3 a^2 e x^2 \sqrt {1+a^2 x^2} \log \left (c x^n\right )-3 a^3 x \sinh ^{-1}(a x) \left (n \left (9 d+e x^2\right )-3 \left (3 d+e x^2\right ) \log \left (c x^n\right )\right )-27 a^2 d n \log \left (1+\sqrt {1+a^2 x^2}\right )+6 e n \log \left (1+\sqrt {1+a^2 x^2}\right )}{27 a^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 3.94, size = 4077, normalized size = 16.71
method | result | size |
default | \(\text {Expression too large to display}\) | \(4077\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.55, size = 429, normalized size = 1.76 \begin {gather*} -\frac {3 \, {\left (9 \, a^{3} d n x - 9 \, a^{3} d n + {\left (a^{3} n x^{3} - a^{3} n\right )} \cosh \left (1\right ) - 3 \, {\left (3 \, a^{3} d x - 3 \, a^{3} d + {\left (a^{3} x^{3} - a^{3}\right )} \cosh \left (1\right ) + {\left (a^{3} x^{3} - a^{3}\right )} \sinh \left (1\right )\right )} \log \left (c\right ) - 3 \, {\left (a^{3} n x^{3} \cosh \left (1\right ) + a^{3} n x^{3} \sinh \left (1\right ) + 3 \, a^{3} d n x\right )} \log \left (x\right ) + {\left (a^{3} n x^{3} - a^{3} n\right )} \sinh \left (1\right )\right )} \log \left (a x + \sqrt {a^{2} x^{2} + 1}\right ) + 3 \, {\left (9 \, a^{2} d n - 2 \, n \cosh \left (1\right ) - 2 \, n \sinh \left (1\right )\right )} \log \left (-a x + \sqrt {a^{2} x^{2} + 1} + 1\right ) - 3 \, {\left (9 \, a^{3} d n + a^{3} n \cosh \left (1\right ) + a^{3} n \sinh \left (1\right ) - 3 \, {\left (3 \, a^{3} d + a^{3} \cosh \left (1\right ) + a^{3} \sinh \left (1\right )\right )} \log \left (c\right )\right )} \log \left (-a x + \sqrt {a^{2} x^{2} + 1}\right ) - 3 \, {\left (9 \, a^{2} d n - 2 \, n \cosh \left (1\right ) - 2 \, n \sinh \left (1\right )\right )} \log \left (-a x + \sqrt {a^{2} x^{2} + 1} - 1\right ) - {\left (54 \, a^{2} d n + {\left (2 \, a^{2} n x^{2} - 7 \, n\right )} \cosh \left (1\right ) - 3 \, {\left (9 \, a^{2} d + {\left (a^{2} x^{2} - 2\right )} \cosh \left (1\right ) + {\left (a^{2} x^{2} - 2\right )} \sinh \left (1\right )\right )} \log \left (c\right ) - 3 \, {\left (9 \, a^{2} d n + {\left (a^{2} n x^{2} - 2 \, n\right )} \cosh \left (1\right ) + {\left (a^{2} n x^{2} - 2 \, n\right )} \sinh \left (1\right )\right )} \log \left (x\right ) + {\left (2 \, a^{2} n x^{2} - 7 \, n\right )} \sinh \left (1\right )\right )} \sqrt {a^{2} x^{2} + 1}}{27 \, a^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (d + e x^{2}\right ) \log {\left (c x^{n} \right )} \operatorname {asinh}{\left (a x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \ln \left (c\,x^n\right )\,\mathrm {asinh}\left (a\,x\right )\,\left (e\,x^2+d\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________